@charset "utf-8";
/* CSS Document */

@font-face
{
	font-family: TH_Mali_Grade6_Bold;
	src: url('TH_Mali_Grade6_Bold.svg') format('svg');
}

body{
	margin:0px;
	padding:0px;
	background-size:100% 100%;
	-moz-background-size:100% 100%;
	font-family:TH_Mali_Grade6_Bold;
	font-size:20px;
	color:#FFF;
	-webkit-user-select:none;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}

/****** CLASS ******/
.center{
	margin:0 auto;	
}

.choice{
	margin-bottom:10px;
	margin-left:10px;
	margin-right:10px;
	border:2px solid #FFF;
	width:280px;
	height:90px;
	float:left;
	cursor:pointer;
	color:#FFF;
	background:rgba(0, 0, 0, 0.5);
	font-size:25px;
	font-weight:bold;
	line-height:80%;
}
.choice:hover{
	background:#FF6;
	color:#000;
}

.cborder2{
	border-radius:5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	-khtml-border-radius:5px;
	overflow:hidden;
}
/******** ID *******/

#question2{
	background:rgba(0, 0, 0, 0.5);
	color:#FFF;
	border:0px solid #FFF;
	font-size:30px;
	font-weight:bold;
	display: table-cell;
	vertical-align: middle;
	width: 588px;
	height:100px;
	word-wrap:break-word;
	line-height:80%;
	opacity:0;
}
#all{
	font-family:TH_Mali_Grade6_Bold;	
	width:700px;
	height:530px;
	margin-left:20px;
	margin-top:55px;
	position:absolute;
	border:6px solid #FFF;
	background:url(../images/board2.png);
	background-size:700px 530px;
}
#bg{
	width:1024px;
	height:600px;
	overflow:hidden;
}
#timebox{
	position:absolute;
	margin-top:55px;
	margin-left:770px;
	width:200px;
	height:50px;
	background:#EBECE4;
	color:#000;
	font-size:45px;
	font-weight:bold;
	border:5px solid #600;
}

#answer{
	width:608px;
	margin-top:10px;
}

#kid{
	position:absolute;
	margin-top:354px;
	margin-left:681px;
	width:343px;
	height:246px;
	background:url(../images/kid.png);
}

#quespic{
	position:absolute;
	margin-top:120px;
	margin-left:770px;
	width:210px;
	height:190px;
	background:url(../images/boardp2.png);
	background-size:210px 190px;
}

#quespic2{
	display: table-cell;
	height:190px;
	vertical-align: middle;
}

#normal{
	margin-top:340px;
	margin-left:760px;
	width:250px;
	height:250px;
	z-index:999;
	position:absolute;
}

#happy{
	margin-top:340px;
	margin-left:760px;
	width:250px;
	height:250px;
	display:none;
	z-index:999;
	position:absolute;
}

#sad{
	margin-top:340px;
	margin-left:760px;
	width:250px;
	height:250px;
	display:none;
	z-index:999;
	position:absolute;
}
/**/
#jqDialog_box {
	background: #f5f5f5;
	position: absolute;
	width: 500px;
	height: 150px;
	font-family: Arial;
	
	border-width: 1px 3px 3px 1px;
	border-style: solid;
	border-color: #ccc;

	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	-ms-border-radius: 6px;
	-o-border-radius: 6px;
	-khtml-border-radius: 6px;
	border-radius: 6px;
	
	-webkit-box-shadow: 0 0 30px #e6e6e6;
	-moz-box-shadow: 0 0 30px #e6e6e6;
	-ms-box-shadow: 0 0 30px #e6e6e6;
	-o-box-shadow: 0 0 30px #e6e6e6;
	box-shadow: 0 0 30px #e6e6e6;
}
#jqDialog_content {
	margin: 20px;
	font-weight: bold;
	font-size: 30px;
	height: 90px;
	overflow: hidden;
	font-family:TH_Mali_Grade6_Bold;
	/*margin-left:138px;*/
}
	
#jqDialog_options {
	/*position:absolute;*/
	margin:0px auto;
	/*margin-left: 45%;*/
	/*margin:0px auto;*/
	margin-top: 0px;
	width:500px;
	height:60px;
}
#jqDialog_options button {
	font-family:TH_Mali_Grade6_Bold;
	margin: 0px 5px;
	background: #000;
	border: 0px;
		
	font-size: 26px;
	color: #fff;
	width: 140px;
	
	cursor: pointer;
	
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	-ms-border-radius: 3px;
	-o-border-radius: 3px;
	-khtml-border-radius: 3px;
	border-radius: 3px;
}
#jqDialog_input {
	position:absolute;
	margin-left: 180px;
	margin-top: -1px;
	padding: 2px;
	width: 100px;
}
#jqDialog_close {
	background: none;
	border: none;
	float: left;
	font-weight: bold;
	font-size: 10px;
	color: #ff0000;
	cursor: pointer;
}